import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/index.scss'
import 'element-plus/dist/index.css'
// 路由守卫，运行路由代码
import '@/router/permission.js'
import { i18n } from '@/i18n'

const app = createApp(App)
app.use(store)
  .use(router)
  .use(i18n)
  .mount('#app')
